.class Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;
.super Landroid/os/AsyncTask;
.source "CommentAddActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/opongo/blogapp/activities/CommentAddActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "downloadSendCommentAsyncTask"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroid/os/AsyncTask",
        "<",
        "Ljava/lang/String;",
        "Ljava/lang/Void;",
        "Lorg/json/JSONObject;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;


# direct methods
.method private constructor <init>(Lcom/opongo/blogapp/activities/CommentAddActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 137
    iput-object p1, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/opongo/blogapp/activities/CommentAddActivity;Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 137
    invoke-direct {p0, p1}, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;-><init>(Lcom/opongo/blogapp/activities/CommentAddActivity;)V

    return-void
.end method


# virtual methods
.method protected bridge varargs synthetic doInBackground([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1
    .parameter

    .prologue
    .line 1
    check-cast p1, [Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->doInBackground([Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v0

    return-object v0
.end method

.method protected varargs doInBackground([Ljava/lang/String;)Lorg/json/JSONObject;
    .locals 9
    .parameter "params"

    .prologue
    .line 141
    sget-boolean v0, Lcom/opongo/blogapp/activities/CommentAddActivity;->DEBUG:Z

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$0()Ljava/lang/String;

    move-result-object v0

    const-string v1, "Downloading comments..."

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 144
    :cond_0
    :try_start_0
    iget-object v0, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->apiManager:Lcom/opongo/blogapp/manager/APIManager;
    invoke-static {v0}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$1(Lcom/opongo/blogapp/activities/CommentAddActivity;)Lcom/opongo/blogapp/manager/APIManager;

    move-result-object v0

    iget-object v1, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->postid:I
    invoke-static {v1}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$2(Lcom/opongo/blogapp/activities/CommentAddActivity;)I

    move-result v1

    iget-object v2, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->edit_comment:Landroid/widget/EditText;
    invoke-static {v2}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$3(Lcom/opongo/blogapp/activities/CommentAddActivity;)Landroid/widget/EditText;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->edit_name:Landroid/widget/EditText;
    invoke-static {v3}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$4(Lcom/opongo/blogapp/activities/CommentAddActivity;)Landroid/widget/EditText;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v3

    invoke-interface {v3}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->email:Ljava/lang/String;
    invoke-static {v4}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$5(Lcom/opongo/blogapp/activities/CommentAddActivity;)Ljava/lang/String;

    move-result-object v4

    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->password:Ljava/lang/String;
    invoke-static {v5}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$6(Lcom/opongo/blogapp/activities/CommentAddActivity;)Ljava/lang/String;

    move-result-object v5

    iget-object v6, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->comment_parent:I
    invoke-static {v6}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$7(Lcom/opongo/blogapp/activities/CommentAddActivity;)I

    move-result v6

    invoke-virtual/range {v0 .. v6}, Lcom/opongo/blogapp/manager/APIManager;->addComments(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v8

    .line 151
    :goto_0
    return-object v8

    .line 146
    :catch_0
    move-exception v7

    .line 148
    .local v7, e:Lorg/json/JSONException;
    invoke-virtual {v7}, Lorg/json/JSONException;->printStackTrace()V

    .line 151
    const/4 v8, 0x0

    goto :goto_0
.end method

.method protected bridge synthetic onPostExecute(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    check-cast p1, Lorg/json/JSONObject;

    invoke-virtual {p0, p1}, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->onPostExecute(Lorg/json/JSONObject;)V

    return-void
.end method

.method protected onPostExecute(Lorg/json/JSONObject;)V
    .locals 9
    .parameter "result"

    .prologue
    .line 156
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->progressDialog:Landroid/app/ProgressDialog;
    invoke-static {v5}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$8(Lcom/opongo/blogapp/activities/CommentAddActivity;)Landroid/app/ProgressDialog;

    move-result-object v5

    invoke-virtual {v5}, Landroid/app/ProgressDialog;->dismiss()V

    .line 158
    if-eqz p1, :cond_1

    .line 160
    sget-boolean v5, Lcom/opongo/blogapp/activities/CommentAddActivity;->DEBUG:Z

    if-eqz v5, :cond_0

    .line 161
    invoke-static {}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$0()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {p1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 164
    :cond_0
    :try_start_0
    const-string v5, "success"

    invoke-virtual {p1, v5}, Lorg/json/JSONObject;->getBoolean(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_3

    .line 165
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->editor:Landroid/content/SharedPreferences$Editor;
    invoke-static {v5}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$9(Lcom/opongo/blogapp/activities/CommentAddActivity;)Landroid/content/SharedPreferences$Editor;

    move-result-object v5

    const-string v6, "edit_password"

    .line 166
    iget-object v7, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->password:Ljava/lang/String;
    invoke-static {v7}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$6(Lcom/opongo/blogapp/activities/CommentAddActivity;)Ljava/lang/String;

    move-result-object v7

    .line 165
    invoke-interface {v5, v6, v7}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 168
    new-instance v3, Landroid/content/Intent;

    const-string v5, "com.opongo.comment_added"

    invoke-direct {v3, v5}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 169
    .local v3, intent:Landroid/content/Intent;
    new-instance v0, Lcom/opongo/blogapp/common/Comment;

    invoke-direct {v0}, Lcom/opongo/blogapp/common/Comment;-><init>()V

    .line 170
    .local v0, comment:Lcom/opongo/blogapp/common/Comment;
    const-string v5, "comment_id"

    invoke-virtual {p1, v5}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v5

    iput v5, v0, Lcom/opongo/blogapp/common/Comment;->id:I

    .line 171
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->comment_parent:I
    invoke-static {v5}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$7(Lcom/opongo/blogapp/activities/CommentAddActivity;)I

    move-result v5

    iput v5, v0, Lcom/opongo/blogapp/common/Comment;->parent:I

    .line 172
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->edit_name:Landroid/widget/EditText;
    invoke-static {v5}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$4(Lcom/opongo/blogapp/activities/CommentAddActivity;)Landroid/widget/EditText;

    move-result-object v5

    invoke-virtual {v5}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v5

    invoke-interface {v5}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v5

    iput-object v5, v0, Lcom/opongo/blogapp/common/Comment;->author:Ljava/lang/String;

    .line 173
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->edit_comment:Landroid/widget/EditText;
    invoke-static {v5}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$3(Lcom/opongo/blogapp/activities/CommentAddActivity;)Landroid/widget/EditText;

    move-result-object v5

    invoke-virtual {v5}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v5

    invoke-interface {v5}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v5

    iput-object v5, v0, Lcom/opongo/blogapp/common/Comment;->content:Ljava/lang/String;

    .line 175
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->email:Ljava/lang/String;
    invoke-static {v5}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$5(Lcom/opongo/blogapp/activities/CommentAddActivity;)Ljava/lang/String;

    move-result-object v5

    const-string v6, ""

    invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_2

    .line 176
    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "http://www.gravatar.com/avatar/"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v6, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->email:Ljava/lang/String;
    invoke-static {v6}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$5(Lcom/opongo/blogapp/activities/CommentAddActivity;)Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Lcom/opongo/blogapp/utils/DigestUtils;->md5(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "?d=404&&s=120"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    iput-object v5, v0, Lcom/opongo/blogapp/common/Comment;->gravatarUrl:Ljava/lang/String;

    .line 180
    :goto_0
    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string v5, "yyyy-MM-dd HH:mm:ss"

    invoke-direct {v1, v5}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    .line 182
    .local v1, df:Ljava/text/SimpleDateFormat;
    new-instance v5, Ljava/util/Date;

    invoke-direct {v5}, Ljava/util/Date;-><init>()V

    invoke-virtual {v1, v5}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v0, Lcom/opongo/blogapp/common/Comment;->date:Ljava/lang/String;

    .line 184
    const-string v5, "COMMENT"

    invoke-virtual {v3, v5, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 186
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    invoke-virtual {v5}, Lcom/opongo/blogapp/activities/CommentAddActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v5

    invoke-virtual {v5, v3}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;)V

    .line 188
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->edit_comment:Landroid/widget/EditText;
    invoke-static {v5}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$3(Lcom/opongo/blogapp/activities/CommentAddActivity;)Landroid/widget/EditText;

    move-result-object v5

    const-string v6, ""

    invoke-virtual {v5, v6}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 190
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    iget-object v6, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    const v7, 0x7f070030

    invoke-virtual {v6, v7}, Lcom/opongo/blogapp/activities/CommentAddActivity;->getString(I)Ljava/lang/String;

    move-result-object v6

    iget-object v7, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    const v8, 0x7f070031

    invoke-virtual {v7, v8}, Lcom/opongo/blogapp/activities/CommentAddActivity;->getString(I)Ljava/lang/String;

    move-result-object v7

    const/4 v8, 0x1

    #calls: Lcom/opongo/blogapp/activities/CommentAddActivity;->showAlert(Ljava/lang/String;Ljava/lang/String;Z)V
    invoke-static {v5, v6, v7, v8}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$10(Lcom/opongo/blogapp/activities/CommentAddActivity;Ljava/lang/String;Ljava/lang/String;Z)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    .line 206
    .end local v0           #comment:Lcom/opongo/blogapp/common/Comment;
    .end local v1           #df:Ljava/text/SimpleDateFormat;
    .end local v3           #intent:Landroid/content/Intent;
    :cond_1
    :goto_1
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->editor:Landroid/content/SharedPreferences$Editor;
    invoke-static {v5}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$9(Lcom/opongo/blogapp/activities/CommentAddActivity;)Landroid/content/SharedPreferences$Editor;

    move-result-object v5

    invoke-interface {v5}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 207
    return-void

    .line 178
    .restart local v0       #comment:Lcom/opongo/blogapp/common/Comment;
    .restart local v3       #intent:Landroid/content/Intent;
    :cond_2
    const/4 v5, 0x0

    :try_start_1
    iput-object v5, v0, Lcom/opongo/blogapp/common/Comment;->gravatarUrl:Ljava/lang/String;
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    .line 200
    .end local v0           #comment:Lcom/opongo/blogapp/common/Comment;
    .end local v3           #intent:Landroid/content/Intent;
    :catch_0
    move-exception v2

    .line 202
    .local v2, e:Lorg/json/JSONException;
    invoke-virtual {v2}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_1

    .line 192
    .end local v2           #e:Lorg/json/JSONException;
    :cond_3
    :try_start_2
    const-string v5, "message"

    invoke-virtual {p1, v5}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_4

    .line 193
    const-string v5, "message"

    invoke-virtual {p1, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 194
    .local v4, message:Ljava/lang/String;
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    iget-object v6, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    const v7, 0x7f070032

    invoke-virtual {v6, v7}, Lcom/opongo/blogapp/activities/CommentAddActivity;->getString(I)Ljava/lang/String;

    move-result-object v6

    const/4 v7, 0x0

    #calls: Lcom/opongo/blogapp/activities/CommentAddActivity;->showAlert(Ljava/lang/String;Ljava/lang/String;Z)V
    invoke-static {v5, v6, v4, v7}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$10(Lcom/opongo/blogapp/activities/CommentAddActivity;Ljava/lang/String;Ljava/lang/String;Z)V

    .line 198
    .end local v4           #message:Ljava/lang/String;
    :goto_2
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentAddActivity;->editor:Landroid/content/SharedPreferences$Editor;
    invoke-static {v5}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$9(Lcom/opongo/blogapp/activities/CommentAddActivity;)Landroid/content/SharedPreferences$Editor;

    move-result-object v5

    const-string v6, "edit_password"

    const-string v7, ""

    invoke-interface {v5, v6, v7}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    goto :goto_1

    .line 196
    :cond_4
    iget-object v5, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    iget-object v6, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    const v7, 0x7f070032

    invoke-virtual {v6, v7}, Lcom/opongo/blogapp/activities/CommentAddActivity;->getString(I)Ljava/lang/String;

    move-result-object v6

    iget-object v7, p0, Lcom/opongo/blogapp/activities/CommentAddActivity$downloadSendCommentAsyncTask;->this$0:Lcom/opongo/blogapp/activities/CommentAddActivity;

    const v8, 0x7f070033

    invoke-virtual {v7, v8}, Lcom/opongo/blogapp/activities/CommentAddActivity;->getString(I)Ljava/lang/String;

    move-result-object v7

    const/4 v8, 0x0

    #calls: Lcom/opongo/blogapp/activities/CommentAddActivity;->showAlert(Ljava/lang/String;Ljava/lang/String;Z)V
    invoke-static {v5, v6, v7, v8}, Lcom/opongo/blogapp/activities/CommentAddActivity;->access$10(Lcom/opongo/blogapp/activities/CommentAddActivity;Ljava/lang/String;Ljava/lang/String;Z)V
    :try_end_2
    .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_0

    goto :goto_2
.end method
